<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var weight =0.00001,sum = 0,a,k=0;
        for(var i=1;i<=64;i++){
            a=1;
            // k=0;
            for(var j=1;j<i;j++){
               a = (a*2);
            }
            // a = a/2
            sum = sum+a;
        }
        document.write(sum*weight);
    </script>
</body>
</html>